export default class Animate extends React.Component{
	constructor(){
		super();
		this.state = {counter:0};

	}
	componentWillEnter(){
		console.log('=====>componentwillEnter');
	}
	componentDidEnter(){
		console.log('=====>componentDidEnter');
	}
	componentWillLeave(){
		console.log('=====>componentWillLeave');
	}
	componentDidLeave(){
		console.log('=====>componentDidLeave')
	}

	render(){
		return (
			<div>
				{this.props.children}
			</div>
		)
	}
}
// module.exports = React.createClass({
// 	componentDidLeave:function(){
// 		console.log('=====>componentwillEnter');
// 	},
// 	componentWillUnmount:function(){
// 		console.log('=====>componentWillUnmount')
// 	},
// 	render:function(){
// 		return (
// 			<div>
// 				{this.props.children}
// 			</div>
			
// 		)
// 	}
// })
